import Vue from 'vue'
import VueRouter from 'vue-router'
import ElementUI from 'element-ui'

import router from './router'
import App from './App.vue'
import store from '@/store'

import 'element-ui/lib/theme-chalk/index.css'
import './permission'

Vue.config.productionTip = false

Vue.use(VueRouter)
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
